Skip to content

asShort in ImmutableLongValueImpl should check isInShortRange#287

Merged
komamitsu merged 3 commits into
msgpack:v07-developfrom
mecp:v07-develop
Nov 11, 2015
Merged

asShort in ImmutableLongValueImpl should check isInShortRange#287
komamitsu merged 3 commits into
msgpack:v07-developfrom
mecp:v07-develop

Conversation

@mecp

@mecp mecp commented Nov 4, 2015

Copy link
Copy Markdown
Contributor

asShort() in ImmutableLongvalueImpl should check isInShortRange() instead of isInByteRange()

@mecp

mecp commented Nov 4, 2015

Copy link
Copy Markdown
Contributor Author

Is it possible to do a hotfix/patch release for this?

@komamitsu

Copy link
Copy Markdown
Member

@mecp Could you add a test for it?

@mecp

mecp commented Nov 10, 2015

Copy link
Copy Markdown
Contributor Author

@komamitsu I have added tests for range checks and casts. Please don't judge the code, as these are first ever scala lines produced by me. please share If something is inappropriate.

komamitsu added a commit that referenced this pull request Nov 11, 2015
asShort in ImmutableLongValueImpl should check isInShortRange
@komamitsu komamitsu merged commit 610553e into msgpack:v07-develop Nov 11, 2015
@komamitsu

Copy link
Copy Markdown
Member

Great. Thanks!

@komamitsu

Copy link
Copy Markdown
Member

@mecp Released 0.7.1 that includes this change.

@mecp

mecp commented Nov 14, 2015

Copy link
Copy Markdown
Contributor Author

@komamitsu Arigato.

@Jayseeall222

Copy link
Copy Markdown

asShort() in ImmutableLongvalueImpl should check isInShortRange() instead of isInByteRange()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants